package net.xi.news.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.xi.news.pojo.Comment;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.domain.Sort;


import java.util.List;

@Mapper
public interface CommentMapper extends BaseMapper<Comment> {


    List<Comment>  findByNewsIdAndParentCommentNull(Long newsId, Sort sort);

}

